import { Link } from "react-router-dom";
const defaultStates = {
    menuList:[
        {
            id:1,
            key:'room',
            label:<Link to='/Home'>房间管理</Link>,
        },
        {
            id:2,
            key:'user',
            label:<Link to='/User'>租户管理</Link>
        },
        {
            id:3,
            key:'money',
            label:<Link to='/Money'>租赁系统</Link>
        },
    ]
}
export default (state = defaultStates,action)=>{
    switch(action.type){
        default:
            return state;
    }
}